package com.property.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 业务-房屋出租
 * </p>
 *
 * @author 刘煦煌
 * @since 2023-11-24
 */
@Getter
@Setter
@TableName("biz_rent")
@ApiModel(value = "Rent对象", description = "业务-房屋出租")
public class Rent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("封面")
    private String cover;

    @ApiModelProperty("描述")
    private String content;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;


}
